package net.wzw.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wzw
 * @date 2025/4/25
 * @Description
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_follower")
public class UserFollowerDO implements Serializable {

    private static final long serialVersionUID =1L;

    /**
     * 主键id
     */
    @TableId(value =  "id" ,type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 粉丝id
     */
    private Integer followerId;

    /**
     * 创建时间，按时间排序
     */
    private Date createTime;

    /**
     * 是否删除 0 正常 1删除
     */
    private Boolean isDel;
}
